/* 导航栏背景颜色 */
.nav-bar {
  width: 100%;
  position: fixed;
  z-index: 1000;
  padding-bottom: 10rpx;
  height: 364rpx;
  border-radius: 0 0 100rpx 100rpx;
  background: linear-gradient(180deg, #CFEDE5 0%, #FFF 100%);
}
.nav-bar-f{
  height: 364rpx;
  border-radius: 0 0 100rpx 100rpx;
  opacity: 0;
}
.oneTitle{
  width: 100%;
  text-align: center;
  margin-left: -20rpx;
}
.time-bar{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
}
.nav-bar-content {
  /* display: flex; */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20rpx;
  justify-content: center;
  position: relative;
}
.nav-detail{
  padding: 24rpx 80rpx 22rpx 42rpx;
  .nav-text{
    font-size: 52rpx; 
    font-weight: 600;
    /* 限制两行显示省略号 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }
  .nav-time-box{
    display: flex;
    align-items: center;
    margin-top: 20rpx;
    .nav-time{
      font-size: 28rpx;
      color: #707070;
    }
    .nav-ok{
      font-size: 28rpx;
      color: #1AA37D;
    }
    .toRight-img{
      width: 38rpx;
      height: 38rpx;
    }
  }
}
.nav-bar-img{
  position: absolute;
  top: 0;
  left: 0;
  /* width: 750rpx; */
  width: 100%;
  z-index: -1;
}

.back-button {
  display: flex;
  align-items: center;
}

.back-icon {
  width: 48rpx;
  height: 48rpx;
  margin-left: 16rpx;
}
.share-icon{
  width: 72rpx;
  height: 72rpx;
  margin-bottom: -8rpx;
}
.backShowClick{
  opacity: 0;
  width: 80rpx;
  height: 70rpx;
  position: absolute;
  left: 0;
  top: 0;
}

.nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 36rpx;
  color: #000;
  position: relative;
}


/* 遮罩层 */
.mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  
  /* 弹框容器 */
  .popup {
    width: 92%;
    background: #fff;
    border-radius: 64rpx;
    padding: 52rpx 32rpx 90rpx;
    animation: slideUp 0.3s ease-out;
    position: relative;
  }
  
  /* 顶部标题 */
  .popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32rpx;
    margin-bottom: 50rpx;
    .share-title{
      border-radius: 96px;
      border: 2rpx solid #D9D9D9;
      padding: 26rpx 32rpx;
    }
  }
  
  .close-btn {
    font-size: 60rpx;
    color: #A2A2A2;
    position: absolute;
    right: 60rpx;
    top: 50rpx;
  }
  
  /* 分享选项 */
  .popup-body {
    display: flex;
    justify-content: space-around;
  }
  
  .share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 64rpx;
    padding: 64rpx 40rpx;
    font-size: 28rpx;
    box-shadow: 0 3px 15.4px 0 #0000000d;
  }
  button.share-item {
    all: unset;          /* 清空絕大部分默認樣式（新版基礎庫支持） */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 64rpx;
    padding: 64rpx 40rpx;
    font-size: 28rpx;
    box-shadow: 0 3px 15.4px 0 #0000000d;
  }
  .icon {
    width: 48rpx;
    height: 48rpx;
    margin-bottom: 20rpx;
  }
  
  /* 动画 */
  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}



.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  // align-items: center;
  justify-content: center;
  z-index: 1000;
}


.avatar-add {
  display: flex;
  align-items: center;
}

.avatar {
  width: 48rpx;
  height: 48rpx;
  border-radius: 50%;
}

.add-circle {
  width: 48rpx;
  height: 48rpx;
  border-radius: 50%;
  border: 2rpx solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12rpx;
  background-color: #fff;
}

.plus {
  font-size: 36rpx;
  color: #ccc;
  font-weight: bold;
  margin-top: -4rpx;
}

.modal-box {
  width: 700rpx;
  height: 810rpx;
  background: #fff;
  border-radius: 64rpx;
  padding: 66rpx 0;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 10rpx;
}

.title {
  font-size: 52rpx;
  font-weight: 600;
  color: #333;
  padding: 0 48rpx;
}

.subtitle {
  margin-top: 24rpx;
  color: #A2A2A2;
  font-size: 28rpx;
  padding: 0 48rpx;
}

.member-row {
  display: flex;
  align-items: center;
  padding: 0 48rpx;
  margin: 24rpx 0;
}

.member-count {
  font-size: 32rpx;
  color: #333;
}

.small-avatar,
.add-small {
  width: 48rpx;
  height: 48rpx;
  border-radius: 50%;
  margin-right: 8rpx;
}

.trip-card {
  display: flex;
  margin: 36rpx 0 40rpx;
  border-radius: 20rpx;
  padding: 0 12rpx ;
  position: relative;
  .button-box{
    position: absolute;
    top: 56rpx;
    left: 192rpx;
    display: flex;
    flex-direction: column;
    .button-img{
      width: 48rpx;
      height: 20rpx;
    }
  }
}

.trip-img {
  width: 200rpx;
  height: 200rpx;
  // object-fit: cover;
  border-radius: 48rpx;
  margin-right: 14rpx;
}

.trip-info {
  padding: 16rpx 36rpx;
  flex: 1;
  border-radius: 48rpx;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trip-title {
  font-size: 36rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 24rpx;
  /* 限制两行显示省略号 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.detail-bottom{
  display: flex;
  flex-direction: column;
  // border-left: 2rpx solid #A2A2A2;
  // padding-left: 12rpx;
}
.trip-desc {
  font-size: 24rpx;
  color: #A2A2A2;
}
 
.trip-meta {
  font-size: 24rpx;
  color: #A2A2A2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .trip-border{
    width: 2rpx;
    height: 22rpx;
    background-color: #D9D9D9;
    margin-right: 12rpx;
  }
}

.invite-btn {
  padding: 0;
  width: 232rpx;
  height: 116rpx;
  margin-top: 42rpx;
  background: #1AA37D;
  color: #fff;
  font-size: 32rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 200rpx;
  margin-left: 50%;
  transform: translateX(-50%);
  .wx-img{
    width: 42rpx;
    height: 42rpx;
    margin-right: 8rpx;
  }
}



